package com.retail.booking.mapper;

import com.retail.booking.entity.po.BookingSharePosterConfigPo;
import com.retail.booking.entity.request.BookingSharePosterConfigRequest;
import com.retail.booking.entity.vo.BookingSharePosterConfigVo;
import com.retail.core.common.CommonMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
* 海报配置 Mapper
* @author Administrator
*/
@Mapper
public interface BookingSharePosterConfigMapper extends CommonMapper<BookingSharePosterConfigRequest, BookingSharePosterConfigVo> {

    /**
     * 全部关闭
     * @return
     */
    Integer updateCloseAllStatus();

    /**
     * 更新状态
     * @param id
     * @param statusFlag
     * @return
     */
    Integer updateStatusFlagById(@Param("id") Long id, @Param("statusFlag") Integer statusFlag);
}
